home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990: Discy Business / Discy Business.2mg / DEV.CD / TOOLS / CLIBS / LIBRARIES / CINCLUDE / STDFILE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-08-01  |  1.8 KB  |  43 lines  |  [B0] Apple IIgs Source Code (0x000A)

  1. /********************************************
  2. ; File: StdFile.h
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1986, 1987
  6. ; All Rights Reserved
  7. ;
  8. ********************************************/
  9.  
  10. #ifndef __types__
  11. #include <types.h>
  12. #endif
  13.  
  14. #ifndef __stdfile__
  15. #define __stdfile__
  16.  
  17. #define  noDisplay   0x0000   /*filterProc result - file not to be displayed */
  18. #define  noSelect 0x0001   /*filterProc result - file displayed, but not selectable */
  19. #define  displaySelect  0x0002   /*filterProc result - file displayed and selectable */
  20.  
  21. typedef struct SFReplyRec  {
  22.       Boolean     good;     /* SFReplyRec - TRUE for open; FALSE for cancel*/
  23.       Word     fileType;     /* SFReplyRec - ProDOS file type*/
  24.       Word     auxFileType;     /* SFReplyRec - ProDOS aux file type*/
  25.       char     filename[16];     /* SFReplyRec - Name of file in prefix 0*/
  26.       char     fullPathname[129];     /* SFReplyRec - The full pathname of the selected file.*/
  27.       } SFReplyRec,  *SFReplyRecPtr ;
  28.  
  29. extern pascal void  SFBootInit() inline(0x0117,dispatcher);   /* Standard File */
  30. extern pascal void  SFStartUp() inline(0x0217,dispatcher);   /* Standard File */
  31. extern pascal void  SFShutDown() inline(0x0317,dispatcher);   /* Standard File */
  32. extern pascal Word  SFVersion() inline(0x0417,dispatcher);   /* Standard File */
  33. extern pascal void  SFReset() inline(0x0517,dispatcher);   /* Standard File */
  34. extern pascal Boolean  SFStatus() inline(0x0617,dispatcher);   /* Standard File */
  35.  
  36. extern pascal void  SFAllCaps() inline(0x0D17,dispatcher);   /* Standard File */
  37. extern pascal void  SFGetFile() inline(0x0917,dispatcher);   /* Standard File */
  38. extern pascal void  SFPGetFile() inline(0x0B17,dispatcher);   /* Standard File */
  39. extern pascal void  SFPPutFile() inline(0x0C17,dispatcher);   /* Standard File */
  40. extern pascal void  SFPutFile() inline(0x0A17,dispatcher);   /* Standard File */
  41.  
  42. #endif
  43.